package week07;

public class PlaneProxy implements Plane{
    private Plane plane;

    public PlaneProxy(Plane plane){
        this.plane = plane;
    }

    @Override
    public void takeOff() {
        System.out.println("--起飞开始--");
        plane.takeOff();
        System.out.println("--起飞结束--");
    }
}
